package com.tablefood.service;

import com.tablefood.domain.ShopFavorite;
import com.tablefood.utils.PageCartBean;
import com.tablefood.utils.PageFavBean;

public interface FavoriteService {
	
	//将商品添加到收藏夹
	public boolean addFavorite(ShopFavorite favorite);
	
	public boolean delFavorite(ShopFavorite favorite);
	
	//查询收藏夹中的商品
	public ShopFavorite searchByProductid(String productid);
	
	public PageFavBean queryForPage(String userid, int pageSize,int page);  
}
